package database.mybatis.entity;

import lombok.Data;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

@Alias("GeneratedInt")
@Data
@ToString
public class GeneratedInt {
    private Integer id;

    private String name;

    private Integer age;

    private String userName;
    public GeneratedInt() {
    }

    public GeneratedInt(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public GeneratedInt(Integer id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }
}
